def is_palindrome(n):
    s = str(n)
    c = s[::-1]
    if not s==c:
        return False
    else:
        return True

output = filter(is_palindrome, range(1,200))
print('1~200:', list(output))
